<!DOCTYPE html>
<html lang="en">
<head>
<title>WebView4Delphi: uWVTypeLibrary: Interface ICoreWebView2ClientCertificate</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="generator" content="PasDoc 0.16.0-snapshot">
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<link rel="StyleSheet" type="text/css" href="pasdoc.css">
</head>
<body>
<span id="ICoreWebView2ClientCertificate"></span><h1 class="cio">Interface ICoreWebView2ClientCertificate</h1>
<div class="sections">
<div class="one_section"><a class="section" href="#PasDoc-Description">Description</a></div><div class="one_section"><a class="section" href="#PasDoc-Hierarchy">Hierarchy</a></div><div class="one_section">Fields</div><div class="one_section"><a class="section" href="#PasDoc-Methods">Methods</a></div><div class="one_section">Properties</div></div>
<span id="PasDoc-Description"></span><h2 class="unit">Unit</h2>
<p class="unitlink">
<a href="uWVTypeLibrary.html">uWVTypeLibrary</a></p>
<h2 class="declaration">Declaration</h2>
<p class="declaration">
<code>type ICoreWebView2ClientCertificate = interface(IUnknown)</code></p>
<h2 class="description">Description</h2>
<p>
 Provides access to the client certificate metadata. </p>
<p>


<p>&lt;see href=&quot;<a href="https://learn.microsoft.com/en-us/microsoft-edge/webview2/reference/win32/icorewebview2clientcertificate">https://learn.microsoft.com/en-us/microsoft-edge/webview2/reference/win32/icorewebview2clientcertificate</a>&quot;&gt;See the ICoreWebView2ClientCertificate article.)</p>
<span id="PasDoc-Hierarchy"></span><h2 class="hierarchy">Hierarchy</h2>
<ul class="hierarchy"><li class="ancestor">IUnknown</li>
<li class="thisitem">ICoreWebView2ClientCertificate</li></ul><h2 class="overview">Overview</h2>
<span id="PasDoc-Methods"></span><h3 class="summary">Methods</h3>
<table class="summary wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code>function <strong><a href="uWVTypeLibrary.ICoreWebView2ClientCertificate.html#Get_Subject-PWideChar-">Get_Subject</a></strong>(out value: PWideChar): HResult; stdcall;</code></td>
</tr>
<tr class="list2">
<td class="visibility"><a href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code>function <strong><a href="uWVTypeLibrary.ICoreWebView2ClientCertificate.html#Get_Issuer-PWideChar-">Get_Issuer</a></strong>(out value: PWideChar): HResult; stdcall;</code></td>
</tr>
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code>function <strong><a href="uWVTypeLibrary.ICoreWebView2ClientCertificate.html#Get_ValidFrom-Double-">Get_ValidFrom</a></strong>(out value: Double): HResult; stdcall;</code></td>
</tr>
<tr class="list2">
<td class="visibility"><a href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code>function <strong><a href="uWVTypeLibrary.ICoreWebView2ClientCertificate.html#Get_ValidTo-Double-">Get_ValidTo</a></strong>(out value: Double): HResult; stdcall;</code></td>
</tr>
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code>function <strong><a href="uWVTypeLibrary.ICoreWebView2ClientCertificate.html#Get_DerEncodedSerialNumber-PWideChar-">Get_DerEncodedSerialNumber</a></strong>(out value: PWideChar): HResult; stdcall;</code></td>
</tr>
<tr class="list2">
<td class="visibility"><a href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code>function <strong><a href="uWVTypeLibrary.ICoreWebView2ClientCertificate.html#Get_DisplayName-PWideChar-">Get_DisplayName</a></strong>(out value: PWideChar): HResult; stdcall;</code></td>
</tr>
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code>function <strong><a href="uWVTypeLibrary.ICoreWebView2ClientCertificate.html#ToPemEncoding-PWideChar-">ToPemEncoding</a></strong>(out pemEncodedData: PWideChar): HResult; stdcall;</code></td>
</tr>
<tr class="list2">
<td class="visibility"><a href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code>function <strong><a href="uWVTypeLibrary.ICoreWebView2ClientCertificate.html#Get_PemEncodedIssuerCertificateChain-ICoreWebView2StringCollection-">Get_PemEncodedIssuerCertificateChain</a></strong>(out value: <a href="uWVTypeLibrary.ICoreWebView2StringCollection.html">ICoreWebView2StringCollection</a>): HResult; stdcall;</code></td>
</tr>
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code>function <strong><a href="uWVTypeLibrary.ICoreWebView2ClientCertificate.html#Get_Kind-COREWEBVIEW2_CLIENT_CERTIFICATE_KIND-">Get_Kind</a></strong>(out value: <a href="uWVTypeLibrary.html#COREWEBVIEW2_CLIENT_CERTIFICATE_KIND">COREWEBVIEW2_CLIENT_CERTIFICATE_KIND</a>): HResult; stdcall;</code></td>
</tr>
</table>
<h2 class="description">Description</h2>
<h3 class="detail">Methods</h3>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><span id="Get_Subject-PWideChar-"></span><code>function <strong>Get_Subject</strong>(out value: PWideChar): HResult; stdcall;</code></td>
</tr>
<tr><td colspan="2">
<p>
 Subject of the certificate.

<p>The caller must free the returned string with `CoTaskMemFree`. See [API Conventions](/microsoft-edge/webview2/concepts/win32-api-conventions#strings). </p>
<h6 class="description_section">Attributes</h6>
<dl class="attributes">
  <dt>GUID['{E7188076-BCC3-11EB-8529-0242AC130003}']</dt>
  <dd></dd>
</dl>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><span id="Get_Issuer-PWideChar-"></span><code>function <strong>Get_Issuer</strong>(out value: PWideChar): HResult; stdcall;</code></td>
</tr>
<tr><td colspan="2">
<p>
 Name of the certificate authority that issued the certificate.

<p>The caller must free the returned string with `CoTaskMemFree`. See [API Conventions](/microsoft-edge/webview2/concepts/win32-api-conventions#strings). </p>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><span id="Get_ValidFrom-Double-"></span><code>function <strong>Get_ValidFrom</strong>(out value: Double): HResult; stdcall;</code></td>
</tr>
<tr><td colspan="2">
<p>
 The valid start date and time for the certificate as the number of seconds since the UNIX epoch. </p>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><span id="Get_ValidTo-Double-"></span><code>function <strong>Get_ValidTo</strong>(out value: Double): HResult; stdcall;</code></td>
</tr>
<tr><td colspan="2">
<p>
 The valid expiration date and time for the certificate as the number of seconds since the UNIX epoch. </p>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><span id="Get_DerEncodedSerialNumber-PWideChar-"></span><code>function <strong>Get_DerEncodedSerialNumber</strong>(out value: PWideChar): HResult; stdcall;</code></td>
</tr>
<tr><td colspan="2">
<p>
 Base64 encoding of DER encoded serial number of the certificate. Read more about DER at [RFC 7468 DER] (<a href="https://tools.ietf.org/html/rfc7468#appendix-B">https://tools.ietf.org/html/rfc7468#appendix-B</a>).

<p>The caller must free the returned string with `CoTaskMemFree`. See [API Conventions](/microsoft-edge/webview2/concepts/win32-api-conventions#strings). </p>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><span id="Get_DisplayName-PWideChar-"></span><code>function <strong>Get_DisplayName</strong>(out value: PWideChar): HResult; stdcall;</code></td>
</tr>
<tr><td colspan="2">
<p>
 Display name for a certificate.

<p>The caller must free the returned string with `CoTaskMemFree`. See [API Conventions](/microsoft-edge/webview2/concepts/win32-api-conventions#strings). </p>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><span id="ToPemEncoding-PWideChar-"></span><code>function <strong>ToPemEncoding</strong>(out pemEncodedData: PWideChar): HResult; stdcall;</code></td>
</tr>
<tr><td colspan="2">
<p>
 PEM encoded data for the certificate. Returns Base64 encoding of DER encoded certificate. Read more about PEM at [RFC 1421 Privacy Enhanced Mail] (<a href="https://tools.ietf.org/html/rfc1421">https://tools.ietf.org/html/rfc1421</a>).

<p>The caller must free the returned string with `CoTaskMemFree`. See [API Conventions](/microsoft-edge/webview2/concepts/win32-api-conventions#strings). </p>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><span id="Get_PemEncodedIssuerCertificateChain-ICoreWebView2StringCollection-"></span><code>function <strong>Get_PemEncodedIssuerCertificateChain</strong>(out value: <a href="uWVTypeLibrary.ICoreWebView2StringCollection.html">ICoreWebView2StringCollection</a>): HResult; stdcall;</code></td>
</tr>
<tr><td colspan="2">
<p>
 Collection of PEM encoded client certificate issuer chain. In this collection first element is the current certificate followed by intermediate1, intermediate2...intermediateN-1. Root certificate is the last element in collection. </p>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><span id="Get_Kind-COREWEBVIEW2_CLIENT_CERTIFICATE_KIND-"></span><code>function <strong>Get_Kind</strong>(out value: <a href="uWVTypeLibrary.html#COREWEBVIEW2_CLIENT_CERTIFICATE_KIND">COREWEBVIEW2_CLIENT_CERTIFICATE_KIND</a>): HResult; stdcall;</code></td>
</tr>
<tr><td colspan="2">
<p>
 Kind of a certificate (eg., smart card, pin, other). </p>
</td></tr>
</table>
<hr><span class="appinfo"><em>Generated by <a href="https://pasdoc.github.io/">PasDoc 0.16.0-snapshot</a>. </em>
</span>
</body></html>
